docker rm -f 19373308-dockerfile
docker rmi -f 19373308-dockerfile
docker rm -f 19373308-dockercommit
docker rmi -f nginx

docker pull nginx

docker run -d --name 19373308-dockercommit -p 8899:80 nginx

docker cp entrypoint.sh 19373308-dockercommit:/entrypoint.sh

docker exec -t 19373308-dockercommit /bin/sh /entrypoint.sh

docker commit 19373308-dockercommit 19373308-dockercommit

curl 127.0.0.1:8899

docker tag 19373308-dockercommit harbor.scs.buaa.edu.cn/19373308/ubuntu-nginx:dockercommit

docker push harbor.scs.buaa.edu.cn/19373308/ubuntu-nginx:dockercommit